package com.cmc.cloud.cmclink.doc.service.manifest;

import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;

import com.cmc.cloud.cmclink.doc.api.document.req.cargomanifest.CargoManifestReqDTO;
import com.cmc.cloud.cmclink.doc.api.document.req.cargomanifest.CargoManifestRespDTO;
import com.cmc.cloud.cmclink.doc.vo.manifestvo.cargomanifest.CargoManifestQueryReqVO;
import com.cmc.cloud.cmclink.doc.vo.manifestvo.cargomanifest.CargoManifestQueryRespVO;

/**
 * 舱单货物信息 Service 接口
 *
 * @author chenzheng
 */
public interface CargoManifestService {

    /**
     * 查询过滤条件
     *
     * @param reqVO 查询条件
     * @return resp
     */
    CargoManifestQueryRespVO queryCargoManifest(@Valid CargoManifestQueryReqVO reqVO);

    /**
     * 查询过滤条件
     *
     * @param cargoManifestReqDTO 查询条件
     * @return resp
     */
    CargoManifestRespDTO queryFilterCargoManifest(CargoManifestReqDTO cargoManifestReqDTO);

    /**
     * 下载Cargo Manifest
     *
     * @param response 返回流
     * @param reqVO 查询过滤条件
     */
    void downloadCargoManifest(HttpServletResponse response, CargoManifestReqDTO reqVO);
}
